package cn.shenlong.portal.service;

import java.util.List;
import java.util.Map;

import cn.shenlong.common.Page;
import cn.shenlong.portal.domain.MemberCard;

public interface MemberCardService {

	public void save(MemberCard memberCard, long memberCardId);

	public Page<MemberCard> findPageByParm(Map<String, Object> otherParm, Integer pageNo, Integer pageSize);
	
	public Long getCountByParm(Map<String, Object> otherParm);

	public MemberCard findMemberCardByMemberCardId(long memberCardId);

	public MemberCard updateMemberCard(MemberCard memberCard);

	public void deleteMemberCard(Long[] memberCardId);

	public void deleteByMemberCardId(List<Long> MemberCardId);

	public void save(MemberCard memberCard);
	
	public MemberCard findMemberCardByCode(String memberCode);
	
	public MemberCard findMemberCardByMemberId(Long memberId);
	
	public void unbind(MemberCard memberCard);
	
	public int unbind(Long memberCardId);
}
